package com.itheima.mapper.cms;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.cms.CmsSubject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface CmsSubjectMapper extends BaseMapper<CmsSubject> {

    /*获取全部商品专题*/
    @Select("select * from cms_subject")
    List<CmsSubject> listAll();
}
